package com.dal.db;

import java.util.List;
import java.util.Map;
import java.util.HashMap;
import com.dal.db.cache.*;
@SuppressWarnings("rawtypes")
public class StaticResource {
	public static Map<String,Object> cacheMaping = new HashMap<String,Object>();
	static{
		cacheMaping.put("RechargeOrderCache",RechargeOrderCache.me());
	}
		// 充值订单
		public static class RechargeOrderResource{
			/**
			 * 数据库表名称
			 */
			public static final String TABLE_NAME = "recharge_order";
			/**
			 * 完整类名称
			 */
			public static final String CLASS_NAME = "com.dal.db.bean.RechargeOrder"; 
			/**
			 * 数据库源字段注释
			 */
			public static final String[] SOURCE_COLUMN_REMARKS = new String[]{"","","","玩家唯一id","服务器id","状态","金额","订单号","扩展信息","商品id","玩家id","交付状态1.未交付 2.已交付","所有参数记录",};
			/**
			 * 数据库源字段名字
			 */
			public static final String[] SOURCE_COLUMN_NAMES = new String[]{"id","create_date","modified_date","uid","sid","state","amount","orderno","extinfo","goods_id","player_id","delivery_state","all_param",};
			/**
			 * 拼音字段名字
			 */
			public static final String[] PINGYING_COLUMN_NAMES = new String[]{"id","createDate","modifiedDate","uid","sid","state","amount","orderno","extinfo","goodsId","playerId","deliveryState","allParam",};
			/**
			 * HashCode字段名字
			 */
			public static final Integer[] HASHCODE_COLUMN_NAMES = new Integer[]{3355,-494058223,2093546340,115792,113870,109757585,-1413853096,-1207109233,-1305545137,2123207332,-1872044231,-1448313722,-92112785,};
			/**
			 * 字段数据类型
			 */
			public static final String[] COLUMN_COLUMNTYPES = new String[]{"VARCHAR(45)","DATETIME(19)","DATETIME(19)","INT(11)","VARCHAR(45)","INT(11)","FLOAT(12)","VARCHAR(45)","VARCHAR(45)","INT(11)","INT(11)","INT(11)","VARCHAR(1,000)",};
			/**
			 * 字段基本类型
			 */
			public static final String[] COLUMN_BASICTYPES = new String[]{"String","java.util.Date","java.util.Date","int","String","int","float","String","String","int","int","int","String",};
			/**
			 * 字段引用类型
			 */
			public static final Class[] COLUMN_CLASSTYPES = new Class[]{String.class,java.util.Date.class,java.util.Date.class,Integer.class,String.class,Integer.class,Float.class,String.class,String.class,Integer.class,Integer.class,Integer.class,String.class,};
			/**
			 * 字段个数
			 */
			public static final int COLUMN_COUNT= 13;
			
			/**
			 * 关联表源名称
			 */ 
			public static final String[] FK_SOURCE_TABLE_NAMES = new String[]{};
			
			/**
			 * 关联表拼音名称
			 */
			public static final String[] FK_PINGYING_TABLE_NAMES = new String[]{};
			
			/**
			 * 关联表HashCode名称
			 */ 
			public static final Long[] FK_HASHCODE_TABLE_NAMES = new Long[]{};
			
			/**
			 * 关联表所关联字段源名
			 */ 
			public static final String[] FK_SOURCE_COLUMN_NAMES = new String[]{};
			
			/**
			 * 关联表所关联字段拼音名
			 */ 
			public static final String[] FK_PINGYING_COLUMN_NAMES = new String[]{};
			
			/**
			 * 关联表所关联字段hashcode名
			 */ 
			public static final Integer[] FK_HASHCODE_COLUMN_NAMES = new Integer[]{};
			
			/**
			 * 索引名称
			 */
			public static final String[] TABLE_INDEX_NAMES = new String[]{"id","deliveryState",};
			
			/**
			 * 级联加载缓存
			 */
			public static Map<String,String> getFKMaping(){
				Map<String,String> maping = new HashMap<String, String>();
				return maping;
			}
		}
}